package com.yx.shop.service.admin;

import com.yx.shop.entitly.Product;

import java.util.List;

/**
 * @Classname AdminProductService
 * @Description TODO:
 * @Date 2021/05/10 19:22
 * @Created by yx
 */
public interface AdminProductService {
    /**
     * @Author:yx
     * @return java.util.List<com.yx.shop.entitly.Product>
     * @Date 2021/05/10 19:28
     * @param
     * @Description:获取所有商品信息
     **/
    List<Product> getAllProduct();

    /**
     * @Author:yx
     * @return boolean
     * @Date 2021/05/10 21:42
     * @param product
     * @Description:添加商品
     **/
    boolean insertProduct(Product product);
}
